from django.urls import path, include
from rest_framework.routers import DefaultRouter

from apps.database.views import DateBaseViewSet

router = DefaultRouter()
router.register('', DateBaseViewSet, base_name='dateBase')
app_name = 'dateBase'

urlpatterns = [
    # api视图路由
    path('', include(router.urls), name='api')
    ]
